package com.fujin.gulimall.product.feign;

import com.fujin.common.Vo.SkuEsModel;
import com.fujin.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @title: searchFeign
 * @Author Tan
 * @Date: 2022/2/1 18:59
 * @Version 1.0
 */
@FeignClient("gulimall-search")
public interface SearchFeign {

    @PostMapping("/search/save/product")
    public R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);

}
